home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / system < prev    next >
Text File  |  1994-04-25  |  484b  |  23 lines

  1. system:
  2.  
  3. Syntax:    system ( "command" )
  4.  
  5. Description:
  6.  
  7.     The system function behaves like the the UNIX system call. The
  8.     string argument to system is passed directly to the
  9.     bourne-shell for execution. The program waits until the
  10.     system call is finished.
  11.  
  12.     Example:
  13.  
  14.     > system( "vi test.r" )
  15.  
  16.     will allow the user to edit (create) the file test.r. When the
  17.     vi process is finished the user will be back at the RLaB
  18.     prompt.
  19.  
  20.     > rfile test
  21.  
  22.     will then load the result of the vi process.
  23.